f869ad
@@ -1798,7 +1798,7 @@
private void handleInsertStatementSpecPhase1(ASTNode ast, QBParseInfo qbp, Phase
       for(Node col : tabColName.getChildren()) {
         assert ((ASTNode)col).getType() == HiveParser.Identifier :
           "expected token " + HiveParser.Identifier + " found " + ((ASTNode)col).getType();
-        targetColNames.add(((ASTNode)col).getText());
+        targetColNames.add(((ASTNode)col).getText().toLowerCase());
       }
       String fullTableName = getUnescapedName((ASTNode) ast.getChild(0).getChild(0),
         SessionState.get().getCurrentDatabase());
